package com.nuhu.dao;

import com.nuhu.pojo.CustomerServiceRecord;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
@Mapper
public interface ServiceOnlineRecordDao {
    @Insert("INSERT INTO customer_service_record (conversation_Content)" +
            "VALUES (#{conversationContent})")
    void serviceOnlineRecordInsert(CustomerServiceRecord customerServiceRecord);

    @Select("SELECT Conversation_Content FROM customer_service_record")
    CustomerServiceRecord getServiceOnlineRecord();
}
